package com.akuhome.resource.dao;

import com.akuhome.resource.entity.Part;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PartDao {
    List<Part> findAllPart();
    Part findPartById(Integer partId);
    Integer insertPart(Part part);
    Integer updatePart(Part part);
    Integer deletePartById(Integer partId);
    Part findPartByUserId(Integer userId);
}
